home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / sbox.z / sbox
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssbbbbooooxxxx((((3333GGGG))))                                                              ssssbbbbooooxxxx((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssbbbbooooxxxx,,,, ssssbbbbooooxxxxiiii,,,, ssssbbbbooooxxxxssss - draw a screen-aligned rectangle
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssbbbbooooxxxx((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  13.      rrrreeeeaaaallll xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
  14.  
  15.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssbbbbooooxxxxiiii((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  16.      iiiinnnntttteeeeggggeeeerrrr****4444 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
  17.  
  18.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssbbbbooooxxxxssss((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  19.      iiiinnnntttteeeeggggeeeerrrr****2222 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
  20.  
  21.      All of the above functions are functionally the same except for the type
  22.      declarations of the parameters.
  23.  
  24. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  25.      _x_1   expects the _x coordinate of a corner of the box.
  26.  
  27.      _y_1   expects the _y coordinate of a corner of the box.
  28.  
  29.      _x_2   expects the _x coordinate of the opposite corner of the box.
  30.  
  31.      _y_2   expects the _y coordinate of the opposite corner of the box.
  32.  
  33. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.      ssssbbbbooooxxxx draws an unfilled, two-dimensional, screen-aligned rectangle.  The
  35.      rectangle is drawn as a sequence of four line segments, and therefore
  36.      inherits many properties that affect the drawing of lines.  These include
  37.      the current color, writemask, line width, stipple pattern, and subpixel
  38.      mode.  The stipple pattern is initialized to bit zero of the current
  39.      linestyle before the rectangle is drawn, then shifted continuously
  40.      through the segments of the rectangle.
  41.  
  42.      The sides of the rectangle will be parallel to the screen _x and _y axes.
  43.      This rectangle cannot be rotated.  The _z coordinate is set to zero.
  44.  
  45.      When you use ssssbbbbooooxxxx, you must not use alpha blending, backfacing or
  46.      frontfacing, depthcueing, fog, gouraud shading, lighting, line
  47.      antialiasing, screen subdivision, stenciling, texture mapping, or z-
  48.      buffering.
  49.  
  50.      ssssbbbbooooxxxx may be faster than rrrreeeecccctttt on some machines.  Use ssssbbbbooooxxxx when you need to
  51.      draw a large number of screen-aligned rectangles.
  52.  
  53.      After ssssbbbbooooxxxx executes, the graphics position is undefined.
  54.  
  55. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.      backfa, bgnclo, blendf, deflin, depthc, linewi, linesm, lmbind, lsrepe,
  57.      rect, scrsub, setlin, shadem, stenci, subpix, texbin, zbuffer
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.